@charset "utf-8";
@import "common_sass_variable";
@font-face {
  font-family: 'glyphicons-halflings-regular';
  src: url('../fronts/glyphicons-halflings-regular.ttf') format('truetype');
}
@font-face {
  font-family: 'DFPHaiBaoW12';
  src: url('../fronts/DFPHaiBaoW12-GB.ttf');
}
@-webkit-keyframes ani-music {
    0% {
        -webkit-transform: translate(0, 0);
        opacity: 0
    }
    30% {
        -webkit-transform: translate(-20px, -20px);
        opacity: 1
    }
    100% {
        -webkit-transform: translate(-30px, -30px);
        opacity: 0
    }
}
@-webkit-keyframes ani-lantern {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0
  }
  30% {
    -webkit-transform: translate(-20px, -30px);
    opacity: 1
  }
  80% {
    -webkit-transform: translate(-15px, -130px);
    opacity: 1
  }
  90% {
    -webkit-transform: translate(-15px, -135px);
    opacity: .5
  }
  100% {
    -webkit-transform: translate(-20px, -140px);
    opacity: 0
  }
}
@-webkit-keyframes ani-lantern2 {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0
  }
  30% {
    -webkit-transform: translate(20px, -30px);
    opacity: 1
  }
  80% {
    -webkit-transform: translate(15px, -130px);
    opacity: 1
  }
  90% {
    -webkit-transform: translate(15px, -135px);
    opacity: .5
  }
  100% {
    -webkit-transform: translate(20px, -140px);
    opacity: 0
  }
}
@-webkit-keyframes bounceInUp {
  0%,
  100%,
  60%,
  75%,
  90% {
    -webkit-transition-timing-function: cubic-bezier(.215, .61, .355, 1);
    transition-timing-function: cubic-bezier(.215, .61, .355, 1)
  }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0)
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0)
  }
  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0)
  }
  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0)
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
  }
}
@-webkit-keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0)
  }
  40%,
  45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0)
  }
  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0)
  }
}
@-webkit-keyframes bounceIn {
  0%,
  100%,
  20%,
  40%,
  60%,
  80% {
    -webkit-transition-timing-function: cubic-bezier(.215, .61, .355, 1);
    transition-timing-function: cubic-bezier(.215, .61, .355, 1)
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3)
  }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1)
  }
  40% {
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9)
  }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03)
  }
  80% {
    -webkit-transform: scale3d(.97, .97, .97);
    transform: scale3d(.97, .97, .97)
  }
  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1)
  }
}
@keyframes bounceIn {
  0%,
  100%,
  20%,
  40%,
  60%,
  80% {
    -webkit-transition-timing-function: cubic-bezier(.215, .61, .355, 1);
    transition-timing-function: cubic-bezier(.215, .61, .355, 1)
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3)
  }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1)
  }
  40% {
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9)
  }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03)
  }
  80% {
    -webkit-transform: scale3d(.97, .97, .97);
    transform: scale3d(.97, .97, .97)
  }
  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1)
  }
}
#container {
    height: 100%;
    background-color: #f3d6b5;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    .progress{
        height: 30px;
        line-height: 35px;
        background: #809495;
        box-shadow: none;
        padding: 6px;
        margin-top:70%;
        overflow: visible;
        border-radius:10px;
        margin-right: 45px;
        margin-left: 10px;
        &:after{
            content: "";
            display: block;
            border-top: 4px dashed #fff;
            margin-top:8px;
        }
        .progress-bar{
            position: relative;
            border-radius: 10px 0 0 10px;
            animation: animate-positive 2s;
            float: left;
            width: 0;
            height: 100%;
            font-size: 12px;
            line-height: 20px;
            color: #fff;
            text-align: center;
            background-color: #ffe01c;
            -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
            box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
            -webkit-transition: width .6s ease;
            -o-transition: width .6s ease;
            transition: width .6s ease;

            span{
                position: absolute;
                top: -50px;
                right: -40px;
                color: #fff;
                display: block;
                font-size: 17px;
                font-weight: bold;
                padding: 5px 7px;
                background: #333;
                border-radius: 5px;
                &:before{
                    content: "";
                    position: absolute;
                    bottom: -14px;
                    left: 18px;
                    border: 7px solid transparent;
                    border-top: 7px solid #333;
                }
                s{
                  background-image: url("../img/icon.png");
                  position: absolute;
                  width: 50px;
                  height: 50px;
                  top: 34px;
                  right: 6px;
                  transform: rotate(90deg);
                  background-size: 100%;
                }
            }
        }
    }
    @-webkit-keyframes animate-positive {
        0% { width: 0%;}
    }
    @keyframes animate-positive {
        0% { width:0%; }
    }
    .wrapper{
        width: 100%;
        display:none;
        &.show{
          display: block;
        }
        .music-play{
            right: 23px;
            top: 3%;
            display: block;
            background-image: url("../img/icon_music_on2.png");
            background-repeat: no-repeat;
            background-size: 100% 100%;
            width: 40px;
            height: 40px;
            position: absolute;
            z-index: 100;
          &.stop{
            background-image: url("../img/icon_music_off2.png");
          }
            s{
                width: 12px;
                height: 12px;
                position: absolute;
                background: url("../img/icon_music.png")no-repeat;
                background-size: 100% 100%;
                -webkit-animation: ani-music 2s ease-out infinite;
                animation: ani-music 2s ease-out infinite;
                opacity: 0;
            }
            .music1{
                display: block;
                -webkit-transform: rotate(0);
                -moz-transform: rotate(0);
                -o-transform: rotate(0);
                transform: rotate(0);
                s{
                    -webkit-animation-delay: .3s;
                    -moz-animation-delay: .3s;
                    -o-animation-duration: 2s;
                    -o-animation-delay: .3s;
                    -webkit-animation-duration: 2s;
                    -moz-animation-duration: 2s;
                }
            }
            .music2{
                display: block;
                -webkit-transform: rotate(30deg);
                -moz-transform: rotate(30deg);
                -o-transform: rotate(30deg);
                transform: rotate(30deg);
                s{
                    -webkit-animation-delay: .9s;
                    -moz-animation-delay: .9s;
                    -o-animation-duration: 2s;
                    -o-animation-delay: .9s;
                    -webkit-animation-duration: 2s;
                    -moz-animation-duration: 2s;
                }
            }
            .music3{
                display: block;
                -webkit-transform: rotate(45deg);
                -moz-transform: rotate(45deg);
                -o-transform: rotate(45deg);
                transform: rotate(40deg);
                s{
                    -webkit-animation-duration: 2s;
                    -webkit-animation-delay: 1.9s;
                    -moz-animation-duration: 2s;
                    -moz-animation-delay: 1.9s;
                    -o-animation-duration: 2s;
                    -o-animation-delay: 1.9s;
                }
            }
        }
        .firstPage{
          height:100%;
          width:100%;
          overflow-y:auto;
          .top_img{
            width:100%;
            height:auto;
          }
          .logo_img{
            text-align: center;
            margin-top: -30px;
            img{
              width: 111px;
              height: auto;
            }
          }
          .rankList{
            background-image: url(../img/index_house.png);
            height: 240px;
            background-size: 320px 230px;
            background-position: center;
            position: relative;
            .lantern{
              background-image: url(../img/index_light.png);
              height: 38px;
              width: 26px;
              position: absolute;
              right: 7%;
              top:40%;
              background-size: 100% 100%;
              animation: ani-lantern2 3s ease-out infinite;
              opacity: 0;
              -webkit-animation-delay: 1s;
              -moz-animation-delay: 1s;
            }
            .rankNameList{
              color: #df454b;
              position: absolute;
              top: 90px;
              width: 100%;
              height: 118px;
              overflow: auto;
              ul{
                //height: 118px;
                overflow: hidden;
                li{
                  display: flex;
                  justify-content: center;
                  .pm{
                    width: 36px;
                  }
                  .tx{
                    width: 30px;
                    img{
                      border-radius: 50%;
                    }
                  }
                  .nickName{
                    width: 110px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    display: block;
                  }
                }
              }
            }
          }
          .startBtn{
            text-align: center;
            margin-top: 5%;
            position: relative;
            animation: bounceIn 1s ease .5s 1 both;
            img{
              width: 173px;
              height:auto;
            }
            .lantern{
              background-image: url(../img/index_light.png);
              height: 38px;
              width: 26px;
              position: absolute;
              left: 15%;
              background-size: 100% 100%;
              animation: ani-lantern 3s ease-out infinite;
              opacity: 0;
              -webkit-animation-delay: .3s;
              -moz-animation-delay: .3s;
            }
          }
          .ruleBtn{
            text-align: center;
            margin-top: 2%;
            animation: bounceIn 1s ease 1s 1 both;
            img{
              width: 126px;
              height:auto;
            }
          }
        }
    }
  .shareQuanPage{
    background-image: url(../img/share_bg.png);
    background-size: 100%;
    display: none;
    &.show{
      display: block;
    }
    .topUserInfo{
      color: #c1272d;
      font-size: 18px;
      text-align: center;
      padding-top: 5%;
      .avatarUrl{
        img{
          width: 90px;
          border-radius: 50%;
          border: 2px solid red;
        }
      }
    }
    .pinjia{
      text-align: center;
      margin-top: 10px;
      color: #c1272d;
      .pj_title{
        font-size: 18px;
        font-weight: 600;
      }
      .pjDes{
        .des_one{
          font-family: DFPHaiBaoW12;
          font-size: 42px;
          margin-top: 10px;
        }
        .pjDesDown{
          font-size: 22px;
          font-weight: 600;
          margin-top: 10px;
          line-height: 32px;
          p{
            margin-bottom: 5px;
          }
        }
      }
    }
    .shareFoot{
      position:fixed;
      bottom:0;
      .shareBt{
        width: 100%;
      }
      .ewm{
        width: 70px;
        height: 70px;
        position: absolute;
        bottom: 30%;
        left: 40%;
      }
    }
  }
  .createPicLoading{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    top: 0;
    bottom: 0;
    z-index:50;
    display:none;
    &.show{
      display: block;
    }
    p{
      text-align: center;
      width: 100%;
      margin-top: 60%;
      color: #fff;
    }
  }
  .tipWeiXinEnv{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 80;
    left: 0;
    top: 0;
    position: absolute;
    display: none;
    &.show{
      display: block;
    }
    .info-dialog-box{
      width: 80%;
      border-radius: 3px;
      font-size: 16px;
      margin: 50% auto 0;
      background-color: #fff;
      color: #001e31;
      max-height: 250px;
      overflow-y: auto;
      text-align: center;
      .info-content{
        margin: 0 auto;
        padding: 32px 22px 22px;
      }
      .info-btn{
        position: relative;
        line-height: 46px;
        font-size: 18px;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        border-top: 1px solid #D5D5D6;
        a{
          display: block;
          -webkit-box-flex: 1;
          -webkit-flex: 1;
          flex: 1;
          color: #36ADF9;
          text-decoration: none;
          -webkit-tap-highlight-color: transparent;
          position: relative;
        }
      }
    }
  }
  .globalAttention{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 100;
    left: 0;
    top: 0;
    position: absolute;
    display: none;
    &.show{
      display: block;
    }
    .showInfo{
      height: 220px;
      background-color: #f3d6b5;
      border: 3px solid #430000;
      border-radius: 10px;
      bottom: 5px;
      position: fixed;
      width: 100%;
      transition: all .5s;
      -moz-transition: all .5s;
      -ms-transition: all .5s;
      -o-transition: all .5s;
      transform: translateY(110%);
      -webkit-transform: translateY(110%);
      -moz-transform:translateY(110%);
      -ms-transform: translateY(110%);
      -o-transform: translateY(110%);
      &.show{
        -webkit-transform: translateY(0%);
        -moz-transform:translateY(0%);
        -ms-transform: translateY(0%);
        -o-transform: translateY(0%);
      }
      .content{
        text-align: center;
        position: relative;
      }
    }
  }
  .share-poster-result-dialog{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 110;
    left: 0;
    top: 0;
    position: absolute;
    display: none;
    &.show{
      display: block;
    }
    .dialog-content{
      margin: 65px auto 0;
      width: 80%;
      position: relative;
      .dialog-close{
        right: -24px;
        top: -56px;
        position: absolute;
        background-image: url("../img/icon_close_pull.png");
        background-repeat: no-repeat;
        height: 143px;
        width: 60px;
        background-size: 60%;
      }
      .dialog-top{
        width: 100%;
        height: 50px;
        line-height: 50px;
        background-color: #25a8fb;
        color: #fff;
        font-weight: 700;
        font-size: 18px;
        text-align: center;
        position: relative;
      }
    }
    .dialog-content-container{
      width: 100%;
      border-radius: 0 0 10px 10px;
    }
    .bounceInUpAni{
      animation:bounceInUp 1s ease 0s 1 both;
    }
    .bounceOutUpAni {
      animation: bounceOutUp 1s ease 0s 1 both
    }
  }
  .globalGameRule{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 120;
    left: 0;
    top: 0;
    position: absolute;
    display:none;
    justify-content: center;
    align-items: center;
    .bounceInUpAni{
      animation:bounceInUp 1s ease 0s 1 both;
    }
    .bounceOutUpAni {
      animation: bounceOutUp 1s ease 0s 1 both
    }
    &.show{
      display: flex;
    }
    .rule_bg{
      width: 274px;
      height: 482px;
      position: relative;
      .rule_del{
        position: absolute;
        top: 0;
        right: -18px;
        width: 37px;
        height: auto;
      }
      .ruleContent {
        position: absolute;
        top: 50px;
        width: 220px;
        overflow-y: auto;
        color: #d15448;
        left: 40px;
        height:386px;
        p{
          line-height: 24px;
        }
        .bt{
          font-weight: 600;
          margin-top: 10px;
          margin-bottom: 10px;
        }
        .ruleTb{
          font-weight: 600;
          font-size: 14px;
          margin-top: 20px;
          margin-bottom: 20px;
          table{
            width: 100%;
            text-align: center;
            border: #d15448;
            border-collapse: collapse;
            tr{
              height: 40px;
              td{
                width: 50%;
              }
            }
          }
        }
      }
    }
  }
  #answerQuestions{
    background: #f3d6b5;
    width: 100%;
    min-height: 100%;
    @include flexDisplay;
    @include flexDirection(column);
    .head{
      padding-bottom: 25px;
      position: relative;
    }
    .time{
      position: absolute;
      bottom:10px;
      font-size: 18px;
      color: #fd001a;
      width: 100%;
      text-align: center;
      font-weight: 700;
      @keyframes change{
        from {
          -moz-transform:scale(1);
          -webkit-transform:scale(1);
          -o-transform:scale(1);
          transform:scale(1);
        }
        to {
          -moz-transform:scale(1.6);
          -webkit-transform:scale(1.6);
          -o-transform:scale(1.6);
          transform:scale(1.6);
        }
      }
      .showErr5{
        animation: change 0.3s;
        -moz-animation: change 0.3s;
        -webkit-animation: change 0.3s;
        -o-animation: change 0.3s;
      }
    }
    .question{
      position: relative;
      .lantern{
        background-image: url(../img/index_light.png);
        height: 38px;
        width: 26px;
        position: absolute;
        left: 7%;
        top:40%;
        background-size: 100% 100%;
        animation: ani-lantern 3s ease-out infinite;
        opacity: 0;
        -webkit-animation-delay: .3s;
        -moz-animation-delay: .3s;
      }
      .lantern2{
        background-image: url(../img/index_light.png);
        height: 38px;
        width: 26px;
        position: absolute;
        right: 7%;
        top:60%;
        background-size: 100% 100%;
        animation: ani-lantern2 3s ease-out infinite;
        opacity: 0;
        -webkit-animation-delay: 1s;
        -moz-animation-delay: 1s;
      }
      .con{
        position: absolute;
        top: 0;
        left: 0;
        width:100%;
        text-align: center;
        margin-top: 90px;
        font-weight: 700;
        padding: 0 90px;
      }
      .sucNum{
        position: absolute;
        bottom: 25px;
        left: 0;
        width:100%;
        text-align: center;
        font-weight: 700;
        padding: 0 90px;
      }
    }
    .answer{
      flex:1;
      -webkit-box-flex:1;
      @include flexDisplay;
      @include flexDirection(column);
      @include flexJustifyContent(space-around);
      @include flexAlignItems(center);
      .con,.conSuc,.conErr{
        text-align:center;
        font-size: 16px;
        height: 38px;
        width:224px;
        line-height:38px;
        font-weight: 700;
        color: #251700;
      }
      .con{
        background: url(../img/answerQuestions_ans.png) no-repeat center;
        background-size: 224px 38px;
      }
      .conSuc{
        background: url(../img/answerQuestions_suc.png) no-repeat center;
        background-size: 224px 38px;
        color: #fff;
      }
      .conErr{
        background: url(../img/answerQuestions_err.png) no-repeat center;
        background-size: 224px 38px;
        color: #fff;
      }
      .red{
        color:red;
      }
    }
  }
  #loser{
    position: fixed;
    width:100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    top: 0;
    left: 0;
    @include flexDisplay;
    @include flexDirection(column);
    @include flexJustifyContent(center);
    @include flexAlignItems(center);
  }
    #results{
        .tip{
            color: #e11713;
            font-size: 12px;
            text-align: center;
        }
        .con{
            font-family: 'DFPHaiBaoW12';
            color: #92341b;
            position: relative;
            margin:20px 60px;
            padding: 40px 10px 20px;
            border: 1px solid #7d0000;
            border-radius: 8px;
            .avatar{
                text-align: center;
                position: absolute;
                top:-34px;
                left: 0;
                width: 100%;
                div{
                    display: inline-block;
                    border:1px solid #92341b;
                    border-radius: 50%;
                    width: 68px;
                    height: 68px;
                }
            }
            .again{
                position: absolute;
                bottom: -18px;
                right: -24px;
            }
        }
        .foot{
            padding-top: 10px;
            @include flexDisplay();
            @include flexJustifyContent(space-around);
            img{
                width: 160px;
                height: 55px;
            }
        }
    }
}
